﻿using System.Windows.Forms;

namespace SampleControl {
    public partial class MyControl : UserControl {
        public MyControl() {
            InitializeComponent();
        }

        private MyControlCollection _myControlCollection;
        public MyControlCollection MyControlCollection {
            get {
                if (_myControlCollection == null) {
                    _myControlCollection = new MyControlCollection();
                }
                return _myControlCollection;
            }
            set { _myControlCollection = value; }
        }
    }
}
